package com.hoshiibuy.fileServer.model;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 多文件上传参数类
 * 
 * @author Mr.wu
 *
 */
@Data
@ApiModel("多文件上传参数")
public class UploadFilesRequest implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 上传的存储空间名称
	 */
	@ApiModelProperty(value = "存储空间名称", notes = "上传时指定的存储空间", required = true)
	private String bucketName;

	/**
	 * 上传文件夹
	 * 
	 */
	@ApiModelProperty(value = "文件夹路径")
	private String folder;

	/**
	 * 文件名和对象key列表 如传递了文件名和对应的key,则上传时使用该key进行操作，将会覆盖原key的文件 如不传则使用文件md5值作为key值
	 */
	@ApiModelProperty(value = "文件信息列表")
	private List<UploadFileRequest> fileInfoList;

	public String getBucketName() {
		return bucketName;
	}

	public void setBucketName(String bucketName) {
		this.bucketName = bucketName;
	}

	public String getFolder() {
		return folder;
	}

	public void setFolder(String folder) {
		this.folder = folder;
	}

	public List<UploadFileRequest> getFileInfoList() {
		return fileInfoList;
	}

	public void setFileInfoList(List<UploadFileRequest> fileInfoList) {
		this.fileInfoList = fileInfoList;
	}

}
